package ast;

import java.util.*;

public class Fmethod extends Field {

  public Type meth_ty;
  public Ident meth_id;
  public VarList meth_args;
  public Expr meth_body;
  public Fmethod(Type meth_ty_init, Ident meth_id_init, VarList meth_args_init, Expr meth_body_init) {

    meth_ty = meth_ty_init; meth_id = meth_id_init;
    meth_args = meth_args_init; meth_body = meth_body_init;  }

  public void accept(Visitor v) {
 v.visit(this); }

  }
